package com.woniuxy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 动物审批对象 algs_animal_application
 *
 * @author ruoyi
 * @date 2023-03-22
 */
public class AlgsAnimalApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 动物申请ID */
    private Long animalApplicationId;

    /** 动物表ID（外键） */
    @Excel(name = "动物表ID", readConverterExp = "外=键")
    private Long animalId;

    /** 数量 */
    @Excel(name = "数量")
    private Long animalApplicationNumber;

    /** 动物性别 */
    @Excel(name = "动物性别")
    private Long animalApplicationSex;

    /** 年龄 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "年龄", width = 30, dateFormat = "yyyy-MM-dd")
    private Date animalApplicationAge;

    /** 备用列 */
    @Excel(name = "备用列")
    private Long animalApplicationBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String animalApplicationBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private String animalApplicationBy3;

    /** 教师ID（外键） */
    @Excel(name = "教师ID", readConverterExp = "外=键")
    private Long teacherId;

    /** 学生ID（外键） */
    @Excel(name = "学生ID", readConverterExp = "外=键")
    private Long studentId;

    public void setAnimalApplicationId(Long animalApplicationId)
    {
        this.animalApplicationId = animalApplicationId;
    }

    public Long getAnimalApplicationId()
    {
        return animalApplicationId;
    }
    public void setAnimalId(Long animalId)
    {
        this.animalId = animalId;
    }

    public Long getAnimalId()
    {
        return animalId;
    }
    public void setAnimalApplicationNumber(Long animalApplicationNumber)
    {
        this.animalApplicationNumber = animalApplicationNumber;
    }

    public Long getAnimalApplicationNumber()
    {
        return animalApplicationNumber;
    }
    public void setAnimalApplicationSex(Long animalApplicationSex)
    {
        this.animalApplicationSex = animalApplicationSex;
    }

    public Long getAnimalApplicationSex()
    {
        return animalApplicationSex;
    }
    public void setAnimalApplicationAge(Date animalApplicationAge)
    {
        this.animalApplicationAge = animalApplicationAge;
    }

    public Date getAnimalApplicationAge()
    {
        return animalApplicationAge;
    }
    public void setAnimalApplicationBy1(Long animalApplicationBy1)
    {
        this.animalApplicationBy1 = animalApplicationBy1;
    }

    public Long getAnimalApplicationBy1()
    {
        return animalApplicationBy1;
    }
    public void setAnimalApplicationBy2(String animalApplicationBy2)
    {
        this.animalApplicationBy2 = animalApplicationBy2;
    }

    public String getAnimalApplicationBy2()
    {
        return animalApplicationBy2;
    }
    public void setAnimalApplicationBy3(String animalApplicationBy3)
    {
        this.animalApplicationBy3 = animalApplicationBy3;
    }

    public String getAnimalApplicationBy3()
    {
        return animalApplicationBy3;
    }
    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("animalApplicationId", getAnimalApplicationId())
                .append("animalId", getAnimalId())
                .append("animalApplicationNumber", getAnimalApplicationNumber())
                .append("animalApplicationSex", getAnimalApplicationSex())
                .append("animalApplicationAge", getAnimalApplicationAge())
                .append("animalApplicationBy1", getAnimalApplicationBy1())
                .append("animalApplicationBy2", getAnimalApplicationBy2())
                .append("animalApplicationBy3", getAnimalApplicationBy3())
                .append("teacherId", getTeacherId())
                .append("studentId", getStudentId())
                .toString();
    }
}
